package cn.sciento.boot.iam.field.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "stong.field-permission")
public class FieldPermissionProperty {
  private boolean enable = false;
  
  private long expire = 86400L;
  
  public boolean isEnable() {
    return this.enable;
  }
  
  public FieldPermissionProperty setEnable(boolean enable) {
    this.enable = enable;
    return this;
  }
  
  public long getExpire() {
    return this.expire;
  }
  
  public FieldPermissionProperty setExpire(long expire) {
    this.expire = expire;
    return this;
  }
}
